
/**   
 * @Title: MenusDao.java 
 * @Package com.neusoft.neumooc.dao 
 * @Description: TODO 
 * @author acer   
 * @date 2016年10月28日 下午5:20:06 
*/
package com.neusoft.neumooc.dao;
import java.util.List;

import com.neusoft.core.common.exception.DAOException;
import com.neusoft.neumooc.VO.MenuVO;
/** 
 * @ClassName: MenusDao 
 * @Description: TODO 
 * @author Fuyongjun
 * @date 2016年10月28日
 */
public interface MenusDao {
	/** 
	 * @Title: queryMenuCount()
	 * @Description: 查找菜单总数
	 * @param 
	 * @return
	 * @throws DAOException
	 */
	public int  queryMenuCount() throws DAOException; 
	/** 
	 * @Title:List<MenuVO> getMenus
	 * @Description: 查找菜单总数
	 * @param 
	 * @return
	 * @throws DAOException
	 */
	public List<MenuVO> getMenus(int pageNo, int pageSize)throws DAOException;
	/** 
	 * @Title:addMenu
	 * @Description: 添加菜单
	 * @param 
	 * @return
	 * @throws DAOException
	 */
	public void addMenu(MenuVO menuVO) throws DAOException;
	/** 
	 * @Title:deleteBook
	 * @Description: 删除菜单
	 * @param 
	 * @return
	 * @throws DAOException
	 */
	public int deleteMenu(String id) throws DAOException;		
	/** 
	 * @Title:EditMenu
	 * @Description: 获取菜单信息
	 * @param 
	 * @return
	 * @throws DAOException
	 */
	public MenuVO menuInfo(String id) throws DAOException;		
	/** 
	 * @Title:updateMenu
	 * @Description: 更新菜单信息
	 * @param 
	 * @return
	 * @throws DAOException
	 */
	public void updateMenu(MenuVO menuvo) throws DAOException;
	
	/** 
	 * @Title: getMenuList 
	 * @Description: TODO 获得菜单列表
	 * @return
	 * @throws DAOException
	 */
	public List<MenuVO> getMenuList() throws DAOException;
	/** 
	 * @Title: checkMsg 
	 * @Description: TODO 判断插入是否同名
	 * @return
	 * @throws DAOException
	 */
	public boolean checkRepeat(String  name)throws DAOException;
	
	
		
}
